<?php

return array(
    /*     * **[文件上传配置]*** */
    //职位类目 icon 上传设置
    'icon_upload_dir' => '/Public/uploads/icons/', //设置icon上传目录
    'icon_max_size' => '3145728', //设置上传图片大小
    'icon_exts' => array('jpg', 'png', 'jpeg', 'png'), //设置允许上传的图片格式
    //企业资质上传配置
    'proof' => array(
        'maxSize' => 2097152,
        'exts' => array('jpg', 'gif', 'png', 'jpeg'),
        'savePath' => './Public/uploads/proof/',
        'subName' => array('date', 'Y-m-d')        
    ),
    //登陆验证码开关
    'need_verify' => true,
    'verify_config' => array(
        'length' => 4,
        'expire' => 60
    ),
    //权限组
    'priv_group' => array(
        'server' => array('id' => '88', 'name' => '客户服务'), //客户服务
        'spot_manager' => array('id' => '99', 'name' => '现场管理'), //现场管理
    ),
    //企业合同前缀，长度为3
    'CONTRACT_PREFIX' => 'ZGY',
    //企业合同上传配置
    'CONTRACT_FILE' => array(
        'exts' => array('doc', 'jpg', 'png', 'jpeg', 'docx'),
        'maxSize' => 3145728, 
        'savePath' => '/Public/uploads/contract/',
        'subName'    =>    array('date','Ym'),
    ),
    //分页 - 每页显示行数
    'pagesize' => array(
        'customer' => 8,//客户服务
        'company' => 8,//企业账户
        'voucher' => 8,//企业用户充值管理
        'users'=>1,//用户信息
    )
);
